package com.eitb.text{
	import flash.display.*;
	public class TextPropertiesFactory {
 		public static const SIMPLE:String = "simple";
 		public static const DIGITAL:String = "digital";
 		public static const SIMPLE_STREAMING:String = "simpleStreaming";
 		
 		public static function getEstilo(formato:String):Object {
			switch (formato) {
				case TextPropertiesFactory.SIMPLE :
					return TextProperties.SIMPLE;
				case TextPropertiesFactory.DIGITAL :
					return TextProperties.DIGITAL;
				case TextPropertiesFactory.SIMPLE_STREAMING :
					return TextProperties.SIMPLE_STREAMING;
				default :
					return TextProperties.SIMPLE;
			}
		}
	}
}
